﻿using System.Collections.Generic;

namespace Core
{
    public static class Scorer
    {
        public static int GetScore(Board board, List<int> moves)
        {
            int sum = 0;
            foreach (var move in moves)
            {
                sum += board.AllTiles[move].Score;
            }
            return sum * moves.Count;
        }
    }
}
